module.exports = {
  devServer: {
    host: '127.0.0.1',
    port: 8082,
    proxy: {
      '/canteen-admin': {
        target: 'http://127.0.0.1:8080',
        changeOrigin: true,
        pathRewrite: {
        }
      }
    }
  },
  productionSourceMap: false,
  chainWebpack: config => {
    config.plugins.delete('prefetch')
  },
  css: {
    loaderOptions: {
      sass: {
        additionalData: `
        @import "@/assets/styles/variables.scss";`
      }
    }
  }
}
